package com.sany.assess.utils;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author fenglf
 * 分页
 */
@ApiModel(description = "分页查询对象")
public class QueryPage<T> {

    @ApiModelProperty(value = "当前页码")
    private Integer page = 1;

    @ApiModelProperty(value = "页面大小")
    private Integer size = 10;


    private T query;

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }

    public T getQuery() {
        return query;
    }

    public void setQuery(T query) {
        this.query = query;
    }

}

